package com.dao.impl;

import com.bean.Company;
import com.dao.CompanyDao;
import com.mapper.CompanyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class CompanyDaoImpl implements CompanyDao {

    @Autowired
    private CompanyMapper companyMapper;

    @Override
    public Company findCById(String companyid) {
        return companyMapper.findCById(companyid);
    }
}
